package com.example.demo.service;

import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.Map;

public interface TokenService {

    static Map<String, String>  map = new HashMap<String, String>();;
    final static int toklen = 6;

    String createToken();

    void putToken(String username, String token);

    void deleteToken(String token);

    boolean searchToken(String token);

    String getName(String token);

    boolean isNull(String token);


}
